package com.raft.core.node.task;

import java.util.concurrent.Callable;

import com.raft.core.node.NodeId;

public interface GroupConfigChangeTask extends Callable<GroupConfigChangeTaskResult> {

    GroupConfigChangeTask NONE = new NullGroupConfigChangeTask();

    boolean isTargetNode(NodeId nodeId);

    /**日志提交时被调用
     */
    void onLogCommitted();

}
